package com.example.design.shejimoshi.action.visitor.practice1.element;

import com.example.design.shejimoshi.action.visitor.practice1.visit.Visitor;
import lombok.AllArgsConstructor;

/**
 * 元素，一个子类对应一个元素
 */
@AllArgsConstructor
public abstract class ResourceFile {
    private String filePath;

    public abstract void accept(Visitor visitor);
}
